﻿<UserControl x:Class="TableViewerControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:my="clr-namespace:System.Windows.Forms.Integration;assembly=WindowsFormsIntegration"
    xmlns:winforms="clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms"
    MinWidth="200" MinHeight="150">
    <DockPanel>
        <ListBox DockPanel.Dock="Left"  Margin="10" MinWidth="50" Name="lbxTables"/>
        <my:WindowsFormsHost Margin="0,10,10,10" Name="WindowsFormsHost1" Style="{StaticResource WinformsStyleFont}">
            <winforms:DataGridView Name="dgv"></winforms:DataGridView>
        </my:WindowsFormsHost>
    </DockPanel>
</UserControl>
